package com.pages;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class PagesActivity extends Activity implements OnClickListener {
	
	public Context cxt = this;
	
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.something);
    	Button cont = (Button)findViewById(R.id.cont);
    	cont.setOnClickListener(this);
        cxt = this;
            
        
    }
    
	public void onClick(View v) {
		Intent intent = new Intent(cxt, somethingActivity.class);
		intent.putExtra("Name","value");
		cxt.startActivity(intent);
	}
}